#ifndef __SHOP_H_
#define __SHOP_H_

#include "Prop.h"
#include "Player.h"
class Shop : public ScenObj //抽象(向上抽象)
{
public:
    Shop(Player &p);
    void show();
        // 复制赋值操作符
    Shop& operator=(const Shop& other) {
        if (this == &other) {
            return *this; // 自我赋值检查
        }
        // 复制 PropVec
        PropVec = other.PropVec;
        return *this;
    }
   
private:
    //智能指针
    std::vector<PropPtr> PropVec;
    Player &p;

};


#endif